//
//  XSGridColumn.h
//  Test
//
//  Created by xueshan1 on 2018/12/17.
//  Copyright © 2018 xueshan1. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "XSGridCell.h"

NS_ASSUME_NONNULL_BEGIN

@interface XSGridColumn : NSObject

@property(nonatomic,copy)NSString *title;
@property(nonatomic,copy)NSString *keyPath;
@property(nonatomic,assign)CGFloat columnWidth;
@property(nonatomic,assign)UIEdgeInsets contentPadding;//内容间距
@property(nonatomic,assign)BOOL mergeLeft;//与左侧合并,去除分隔线 default NO

- (XSGridCell *)gridCellWithData:(id)data;

@end


 
NS_ASSUME_NONNULL_END
